import requests
if __name__=="__main__":
    url="https://img1.doubanio.com/view/photo/l/public/p2919832188.webp"
    img_data=requests.get(url=url).content
    with open("./img.webp","wb") as fp:
        fp.write(img_data)